package com.futures.investm.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Author:ChenPengBo
 * Date:2018/10/18
 * Desc:期货
 * Version:1.0
 */
public class Future implements Serializable {
    public String code;//期货code
    public String name;//期货name
    public boolean isOptional;//是否自选
    public List<String> data;

    public Future() {
    }

    public Future(List<String> data) {
        this.data = data;
    }

    public Future(boolean isOptional, String name, String code) {
        this.isOptional = isOptional;
        this.name = name;
        this.code = code;
    }

    public Future(String code, String name, List<String> data) {
        this.name = name;
        this.code = code;
        this.data = data;
    }


    public Future(String name, String code, boolean isOptional) {
        this.code = code;
        this.name = name;
        this.isOptional = isOptional;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
